projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a45906a
)
Exclude term-mode from hi-lock global modes
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 8 Jul 2021 01:23:46 +0000
(
03:23
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 8 Jul 2021 01:23:46 +0000
(
03:23
+0200)
* lisp/hi-lock.el (hi-lock-exclude-modes): Exclude term-mode so
that `C-x' works in terminal buffers (bug#22620).
lisp/hi-lock.el
patch
|
blob
|
history
diff --git
a/lisp/hi-lock.el
b/lisp/hi-lock.el
index 68f8cc5054914000ce1750dd76e99b37539c5f7f..37b88b318de7e47065332c17a6030bcbcc62aa0f 100644
(file)
--- a/
lisp/hi-lock.el
+++ b/
lisp/hi-lock.el
@@
-111,7
+111,7
@@
highlighting will be applied throughout the buffer."
:group 'hi-lock)
(defcustom hi-lock-exclude-modes
- '(rmail-mode mime/viewer-mode gnus-article-mode)
+ '(rmail-mode mime/viewer-mode gnus-article-mode
term-mode
)
"List of major modes in which hi-lock will not run.
For security reasons since font lock patterns can specify function
calls."